/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package au.edu.swin.swinvehicle.user;

import java.io.Serializable;

/**
 *
 * @author Alexandra
 */
public class UserDetailsTO implements Serializable
{
    private Long id;
    private String firstName;
    private String lastName;
    private String emailAddress;
    private String contactNumber;
    private String homeAddress;
    private String username;

    public UserDetailsTO(){}
    
    public UserDetailsTO(Long id, String firstName, String lastName, String emailAddress, String contactNumber, String homeAddress, String username)
    {
        this.id = id;
        this.setFirstName(firstName);
        this.setLastName(lastName);
        this.setEmailAddress(emailAddress);
        this.setContactNumber(contactNumber);
        this.setHomeAddress(homeAddress);
        this.setUsername(username);
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public String getContactNumber() {
        return contactNumber;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    public String getEmailAddress() {
        return emailAddress;
    }

    public void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getHomeAddress() {
        return homeAddress;
    }

    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    
}
